@extends('layouts.admin')
@section('content')
	<div class="alert alert-success">添加车型</div>
	{{--错误提示信息--}}
	@if(count($errors)>0)
		<div class="alert alert-danger">
			@if(is_object($errors))
				@foreach($errors->all() as $error)
					<p>{{$error}}</p>
				@endforeach
			@else
				<p>{{$errors}}</p>
			@endif
		</div>
	@endif
	<form action="{{url('admin/carModel')}}" method="post">
		{{--csrf保护措施--}}
		{{csrf_field()}}
		<div class="form-group">
			<label for="exampleInputEmail1">车型</label>
			<input type="text" name="mname" class="form-control">
		</div>
		<button class="btn btn-primary btn-block" type="submit"> 确定 </button>
	</form>
@endsection




